---
vpn:
  hosts:%{ for vm in vms }
    ${vm["name"]}:  
      ansible_host: ${vm["default_ip_address"]}
      ansible_user: ${user}
%{~ endfor }

all:
  children:
    vpn: